package com.mowanka.mokeng.app.network

import com.mowanka.mokeng.data.model.bean.*
import retrofit2.http.GET
import retrofit2.http.QueryMap

interface ApiService {

    @GET("product/getList")
    suspend fun productList(@QueryMap map: Map<String, @JvmSuppressWildcards Any>): ApiResponse<ArrayList<ProductResponse>>

    @GET("floor/getFloorArr")
    suspend fun floor(): ApiResponse<ArrayList<FloorResponse>>

    @GET("prototype/v2/getPopList")
    suspend fun popList(): ApiResponse<ArrayList<PopularSelection>>

    @GET("mokengTab/usersPlayList")
    suspend fun userPlayList(): ApiResponse<ArrayList<UserPlaying>>

    @GET("pdRelation/getRecommendList")
    suspend fun recommendList(@QueryMap map: Map<String, @JvmSuppressWildcards Any>): ApiResponse<ArrayList<NewsInfo>>

}